package enemies
{
	import projectiles.Slime_Ball;
	public class Spitting_Slime extends Slime
	{
		public function Spitting_Slime(gH:GameHandler)
		{
			super(gH);
			hp=10;
			virtual_hp=10;
			speed = .8;
			attack_range = 250;
			var attack_strength = 5;
		}
		override public function attack_castle(){
			if(this.currentFrame < 21)
				this.gotoAndPlay(21);
			if(this.currentFrame == 37){
				var sb = new Slime_Ball(this,game_handler);
			}
			game_handler.mana_amount -= attack_strength;
		}
	}
}